package cn.market.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Log {
	private static boolean isPrint = true; 
	public static void println(String TAG,String methodName){
		if(isPrint){
			SimpleDateFormat format = new SimpleDateFormat("yy-MM-dd hh:mm:ss");
			String date = format.format(new Date());
			System.out.println(date+" -- "+TAG+"\t"+methodName);
		}
	}
}
